home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 013 / edir100.arc / EDIR100.DOC next >
Encoding:
Text File  |  1986-12-06  |  34.9 KB  |  1,057 lines

  1.  
  2.  
  3.           
  4.           
  5.           
  6.           
  7.           
  8.           
  9.           
  10.           
  11.           
  12.           
  13.           
  14.           
  15.           
  16.           
  17.           
  18.                                         
  19.                                       EDIR
  20.                                         
  21.                          A FULL SCREEN DIRECTORY EDITOR
  22.                                         
  23.                                   VERSION 1.00
  24.           
  25.           
  26.           
  27.           
  28.           
  29.           
  30.           
  31.           
  32.           
  33.           
  34.           
  35.           
  36.           
  37.           
  38.           
  39.           
  40.           
  41.           
  42.           
  43.           
  44.           
  45.           
  46.           
  47.           
  48.           
  49.           
  50.           
  51.           
  52.           
  53.           COPYRIGHT (C) 1986 BY ROSE DEVELOPMENT
  54.           ALL RIGHTS RESERVED
  55.                                         
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                TABLE OF CONTENTS
  71.  
  72.  
  73.           License Agreement..........................................2
  74.           Introduction...............................................3
  75.           A short course on MS-DOS disk directories..................5
  76.           Editing directories with EDIR..............................6
  77.              Installation............................................6
  78.              Operation...............................................7
  79.           EDIR command reference....................................10
  80.              Quick summary..........................................10
  81.              PgUp...................................................11
  82.              PgDn...................................................11
  83.              Home...................................................11
  84.              End....................................................11
  85.              Up-Arrow...............................................11
  86.              Down-Arrow.............................................11
  87.              Mark...................................................11
  88.              Unmark.................................................11
  89.              Cut....................................................12
  90.              Paste..................................................12
  91.              Organize...............................................12
  92.              Sort or Reverse........................................12
  93.              Trim (compress) directory..............................13
  94.              Display paste and/or safe buffers......................13
  95.              Help...................................................14
  96.              Write and quit.........................................14
  97.              Quit...................................................14
  98.           Order form................................................15
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.                                         
  136.                        ROSE DEVELOPMENT LICENSE AGREEMENT
  137.                
  138.                
  139.                EDIR is the  copyrighted property of  Rose Development.
  140.           It is based on the concept of user supported software  which
  141.           is an attempt to provide software  at a low cost to the  end
  142.           user.
  143.                
  144.                Version 1 is  provided to you  free of cost  and may be
  145.           copied and  shared freely,  provided that  it is distributed
  146.           ONLY in its original unmodified  form and no fee is  charged
  147.           for such distribution.
  148.                
  149.                Version 2  and future  releases cannot  be distributed.
  150.           You can use these versions on a single machine and copy them
  151.           for backup purposes only.
  152.                
  153.                The latest release of EDIR can be obtained by sending a
  154.           nominal contribution of $15 to Rose Development. Please  use
  155.           the order form at the end of this document for this purpose.
  156.           Registered users will be informed about future releases  and
  157.           can get updates at a nominal charge.
  158.                
  159.                
  160.           DISCLAIMER
  161.           
  162.           EDIR is provided "as is" without warranty on any kind. In no
  163.           event will Rose Development be liable to you for any damage,
  164.           including  loss  of  profits,  savings,  data, time or other
  165.           incidental or  consequential damages  arising due  to use of
  166.           this program.
  167.           
  168.           We have tried to make EDIR as "bullet proof" as possible. It
  169.           has  been  tested  on  several  IBM  PCs,  XTs, ATs and 100%
  170.           compatibles  with  various  disk  configurations   including
  171.           double sided/double density drives, high density drives  and
  172.           hard  drives.  However,  we  do  recommend  you to test this
  173.           program on your specific setup. It is always a good idea  to
  174.           have a recent backup of all your important disks.
  175.           
  176.           
  177.           MINIMUM SYSTEM REQUIREMENTS
  178.           
  179.           IBM PC/XT/AT or 100% compatible
  180.           MS-DOS/PC-DOS version 2.00 or higher
  181.           64K RAM
  182.           
  183.           
  184.           Rose Development
  185.           1126 E. Algonquin Rd., 2K
  186.           Schaumburg, IL 60173.
  187.           (312) 397-6686
  188.                                         
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.                                      - 2 -
  197.  
  198.  
  199.  
  200.  
  201.                                         
  202.                                   INTRODUCTION
  203.                
  204.                
  205.                EDIR is a full screen directory editor that allows  you
  206.           unlimited flexibility in manipulating MS-DOS directories. It
  207.           gives  you  full  control  over  the  order  in  which   the
  208.           individual directory entries will be stored on the disk.  It
  209.           can sort directories by  filename, extension, date, size  or
  210.           any other arbitrary order that may seem logical to you.  For
  211.           example, suppose  the DOS  'DIR' command  currently lists  a
  212.           directory in the following order:
  213.           
  214.           .            <DIR>     11-09-86   5:52p
  215.           ..           <DIR>     11-09-86   5:52p
  216.           PRACTICE TXT     3140   9-10-85   6:36a
  217.           TEST     DOC    12876  12-29-84  10:30p
  218.           TEST     EXE     2409  12-29-84  10:25p
  219.           LIB          <DIR>     11-09-86   6:05p
  220.           TEST1013 RES      324  10-13-86   8:54p
  221.           HELP         <DIR>     11-09-86   6:10p
  222.           TEST1009 RES      324  10-09-86  10:45a
  223.           
  224.           EDIR  lets  you  change  this  order  to  your  taste. A few
  225.           possibilities are shown below:
  226.           
  227.           1. Directories first, then files (in the desired order).
  228.           
  229.           .            <DIR>     11-09-86   5:52p
  230.           ..           <DIR>     11-09-86   5:52p
  231.           LIB          <DIR>     11-09-86   6:05p
  232.           HELP         <DIR>     11-09-86   6:10p
  233.           PRACTICE TXT     3140   9-10-85   6:36a
  234.           TEST1013 RES      324  10-13-86   8:54p
  235.           TEST1009 RES      324  10-09-86  10:45a
  236.           TEST     DOC    12876  12-29-84  10:30p
  237.           TEST     EXE     2409  12-29-84  10:25p
  238.           
  239.           2. Files  first, then  directories (in  the desired  order).
  240.              Note that . & .. entries must remain in place due to  DOS
  241.              requirements.
  242.           
  243.           .            <DIR>     11-09-86   5:52p
  244.           ..           <DIR>     11-09-86   5:52p
  245.           PRACTICE TXT     3140   9-10-85   6:36a
  246.           TEST1013 RES      324  10-13-86   8:54p
  247.           TEST1009 RES      324  10-09-86  10:45a
  248.           TEST     DOC    12876  12-29-84  10:30p
  249.           TEST     EXE     2409  12-29-84  10:25p
  250.           LIB          <DIR>     11-09-86   6:05p
  251.           HELP         <DIR>     11-09-86   6:10p
  252.           
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.                                      - 3 -
  263.  
  264.  
  265.  
  266.  
  267.           3. Directories first, then files (in sorted order).
  268.           
  269.           .            <DIR>     11-09-86   5:52p
  270.           ..           <DIR>     11-09-86   5:52p
  271.           HELP         <DIR>     11-09-86   6:10p
  272.           LIB          <DIR>     11-09-86   6:05p
  273.           TEST     DOC    12876  12-29-84  10:30p
  274.           TEST     EXE     2409  12-29-84  10:25p
  275.           TEST1009 RES      324  10-09-86  10:45a
  276.           TEST1013 RES      324  10-13-86   8:54p
  277.           PRACTICE TXT     3140   9-10-85   6:36a
  278.                
  279.                
  280.                The power  of EDIR  comes from  the fact  that you  can
  281.           manipulate  the  directories  interactively.  It  is  a full
  282.           screen editor designed to edit directories, very similar  to
  283.           the full screen editors designed to edit documents.
  284.                
  285.                This document describes the use of EDIR to  effectively
  286.           organize your disk directories.
  287.                                         
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.                                      - 4 -
  329.  
  330.  
  331.  
  332.  
  333.                                A SHORT COURSE ON
  334.                             MS-DOS DISK DIRECTORIES
  335.                
  336.                This  section  is  not  mandatory  reading,  but  would
  337.           certainly help to better understand the operation of EDIR.
  338.                
  339.                MS-DOS can create two types of directories on disk. The
  340.           root directory has  a fixed size  and is always  present. On
  341.           the other hand, subdirectories  have variable size and  they
  342.           may or may not  be present. Subdirectories are  allocated in
  343.           units  called  'clusters'.  A  cluster  is simply a group of
  344.           sectors. The number of sectors in a cluster is fixed and  is
  345.           determined  by  the  type  of  the disk, e.g. a double-sided
  346.           double-density disk has  2 sectors/cluster whereas  the high
  347.           density diskette on a PC/AT has 1 sector/cluster.
  348.                
  349.                Information  about  files  and  subdirectories  under a
  350.           certain directory is stored in directory entries. Each entry
  351.           contains the following  information about the  corresponding
  352.           file or subdirectory: filename, extension, attributes,  date
  353.           and time of creation, starting cluster number and file size.
  354.           Each directory entry occupies 32  bytes on the disk. When  a
  355.           directory cluster  gets full  with entries,  new entries are
  356.           added to the directory by assigning an unused cluster to the
  357.           directory.
  358.                
  359.                A directory entry that has never been used has a hex 00
  360.           as  the  first  character  of  its  filename.  DOS deletes a
  361.           directory  entry  by  making  the  first  character  of  its
  362.           filename a  hex E5.  Deleted entries  are not  listed by the
  363.           'DIR' command. Thus deleted entries create small "holes"  in
  364.           a directory. When DOS needs to add a new directory entry  to
  365.           the directory,  it writes  over the  first available  "hole"
  366.           (deleted entry), if one  exists. That is why  filenames seem
  367.           to appear at unexpected places when you create new files  in
  368.           a directory that has deleted entries in it.
  369.                
  370.                EDIR  lets  you  interactively  manipulate the order of
  371.           directory entries with the following restrictions which  are
  372.           necessary for the proper operation of DOS:
  373.           
  374.           1. In a system  disk (a disk that  has DOS on it)  the first
  375.              two  files  in  the  root  directory  must  be IO.SYS and
  376.              MSDOS.SYS (IBMIO.COM and  IBMDOS.COM in case  of PC-DOS).
  377.              EDIR  will  not  let  you  move  these two files. It will
  378.              actually pull out these two entries into a 'safe  buffer'
  379.              before letting you manipulate the directory entries. When
  380.              writing the directory back  to the disk, the  two entries
  381.              will be inserted in the right place. The same holds  good
  382.              for the . & .. entries in a subdirectory.
  383.           
  384.           2. DOS assumes  that the never  used entries in  a directory
  385.              will always be at the  end. So EDIR strips these  entries
  386.              before letting you manipulate the directory and reinserts
  387.              them in  the right  place before  writing it  back to the
  388.              disk.
  389.           
  390.  
  391.  
  392.  
  393.  
  394.                                      - 5 -
  395.  
  396.  
  397.  
  398.  
  399.                                         
  400.                                         
  401.                          EDITING DIRECTORIES WITH EDIR
  402.           
  403.           
  404.           INSTALLATION
  405.           
  406.           1.  EDIR  uses  ANSI  sequences  for  cursor  control on the
  407.              screen. So make sure that you install the ANSI.SYS device
  408.              driver during boot up. ANSI.SYS is a file on your  MS-DOS
  409.              or  PC-DOS  distribution  disk.  Copy  this  file to your
  410.              system disk (the disk that you use to boot up your system
  411.              - floppy or hard disk) in the root directory or any other
  412.              subdirectory of your  choice. Then include  the following
  413.              line in a file called CONFIG.SYS in the root directory of
  414.              the system disk. If this file does not exist at the  root
  415.              level, then create it.
  416.              
  417.              DEVICE=<full pathname of the ANSI.SYS file>
  418.              
  419.              For  example,  if  your  ANSI.SYS  file is in a directory
  420.              called \BIN then  the entry in  the CONFIG.SYS file  will
  421.              look as follows:
  422.              
  423.              DEVICE=\BIN\ANSI.SYS
  424.           
  425.           2. Now  copy the  file EDIR100.EXE  to a  directory of  your
  426.              choice and rename it  as EDIR.EXE. Include the  directory
  427.              containing EDIR.EXE in your search path. For example,  if
  428.              EDIR.EXE is in a directory called \UTIL on the C:  drive,
  429.              then you  would enter  the following  command at  the DOS
  430.              prompt or  include it  in your  AUTOEXEC.BAT file  at the
  431.              root level.
  432.              
  433.              PATH=C:\UTIL
  434.           
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.                                      - 6 -
  461.  
  462.  
  463.  
  464.  
  465.           
  466.           OPERATION
  467.           
  468.           An  editing  session  with  EDIR  consists  of the following
  469.           steps:
  470.           
  471.           1. Call up the directory that you want to edit using EDIR.
  472.           2. Manipulate directory entries using EDIR commands.
  473.           3. Store the directory back to the disk using the EDIR write
  474.              command.
  475.           
  476.           Note  that  there  is  only  one  way  to  write  the edited
  477.           directory back to the disk, i.e. by using the write command.
  478.           If, for some reason, you decide not to change the  directory
  479.           contents, you can quit out of EDIR using the quit command.
  480.           
  481.           The calling syntax for EDIR is as follows:
  482.           
  483.           EDIR ?
  484.           or
  485.           EDIR [d:][path]
  486.           
  487.           EDIR ? gives EDIR usage information.
  488.           
  489.           EDIR  [d:][path]  opens  the  directory  of  your choice for
  490.           editing. 'd:' is the target drive. It is optional and if not
  491.           specified defaults to the  current default drive. 'path'  is
  492.           the  target  directory  pathname.  It  is  also optional and
  493.           defaults  to  the  current  default  directory on the target
  494.           drive. 'path' may  be specified as  an absolute or  relative
  495.           pathname.
  496.           
  497.           Examples:
  498.           
  499.           EDIR
  500.           EDIR B:
  501.           EDIR B:DOC
  502.           EDIR B:\UTIL\WORD
  503.           EDIR BIN\MAIL
  504.           EDIR \GRAPHICS
  505.           
  506.           If EDIR  is invoked  with an  invalid drive  or pathname, an
  507.           error message  is displayed  and EDIR  aborts itself.  For a
  508.           valid  invocation,  EDIR  comes  up  with its normal editing
  509.           screen ready for you to edit the target directory.
  510.           
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.                                      - 7 -
  527.  
  528.  
  529.  
  530.  
  531.           At this point, I suggest you to start an EDIR session with a
  532.           large enough target directory (at least 30 entries) and  try
  533.           out the commands suggested in the following paragraphs.
  534.           
  535.           The normal EDIR editing screen contains one directory  entry
  536.           per line corresponding to  each file or directory  under the
  537.           target  directory.   Each  entry   contains  the   following
  538.           information   about   the   file   or  directory:  filename,
  539.           extension, file attributes, date and time of creation,  size
  540.           and starting  cluster number.  The file  attributes have the
  541.           following meaning:
  542.           
  543.           A  Archive - set whenever a file is modified
  544.           D  Subdirectory
  545.           V  Volume label - can exist only in the root directory
  546.           S  System file
  547.           H  Hidden file
  548.           R  Read-only file
  549.           
  550.           An entry  that has  been deleted  is shown  with a  ? as the
  551.           first character of its filename.
  552.           
  553.           The  entry  at  which  the  cursor  is  placed is called the
  554.           "Current Entry". The current entry (and the cursor position)
  555.           can be changed by the  up-arrow and down-arrow keys on  your
  556.           keyboard. You can page  through the directory rapidly  using
  557.           the 'Page-Up' and 'Page-Down' keys. Also, you can get to the
  558.           top or bottom of a  directory very quickly using the  'Home'
  559.           and 'End'  keys on  your keyboard.  Try using  these keys to
  560.           view the target directory.
  561.           
  562.           The entries  you are  looking at  are in  the main buffer of
  563.           EDIR.  EDIR  also  has  a  paste  buffer which is useful for
  564.           moving entries within the  main buffer. Let's try  this with
  565.           an example. Bring  the cursor to  an entry that  you want to
  566.           move. Press the  key 'C' (CUT)  on your keyboard.  The entry
  567.           pointed by the  cursor is deleted  from the main  buffer and
  568.           placed in the paste buffer.  Let us look at the  contents of
  569.           the paste  buffer now.  To do  this press  the 'D' (DISPLAY)
  570.           key. The display buffer is shown on the screen. It has  only
  571.           on entry at this point. Press any key except 'S' to get back
  572.           to the main buffer ('S' shows you the safe buffer -  entries
  573.           that EDIR does  not allow you  to manipulate). Now  move the
  574.           cursor to  a point  where you  want to  insert the entry you
  575.           have  just  cut.  Press  the  'P'  (PASTE) key and the paste
  576.           buffer  will  be  inserted  BEFORE  the entry pointed by the
  577.           cursor.
  578.           
  579.           If more than one entries are cut before pasting them back to
  580.           the main buffer, then they are appended to the paste  buffer
  581.           (as  opposed  to  overwriting  the  paste buffer). So if you
  582.           wanted to group the 3rd, 14th & 22nd entries in a directory,
  583.           then you would  first cut them  into the paste  buffer using
  584.           the 'CUT'  command three  times and  then paste  them at the
  585.           desired location in the  main buffer using a  single 'PASTE'
  586.           command. Try  this sequence  and watch  the contents  of the
  587.           paste buffer as you progress.
  588.           
  589.  
  590.  
  591.  
  592.                                      - 8 -
  593.  
  594.  
  595.  
  596.  
  597.           Now try  some sorting  capabilities of  EDIR. EDIR  can sort
  598.           directories by filename, extension, file size or date & time
  599.           of  creation.  It  can  also  reverse  the  current order of
  600.           entries. Press  the 'S'  (SORT) key  to do  a simple sort by
  601.           filename. EDIR displays the following prompt:
  602.           
  603.           Sorting sequence - <F>ilename, <E>xtension, <S>ize,  <D>ate,
  604.           <R>everse:
  605.           
  606.           Press the 'F' key and EDIR will sort the whole directory  by
  607.           filename.
  608.           
  609.           If you want to write  the directory back to the  disk, press
  610.           the 'W' (WRITE) key. If you want to quit without writing  to
  611.           the disk,  simply press  'Q' (QUIT)  key. EDIR  will ask for
  612.           your confirmation in each of the above two cases.
  613.           
  614.           By now you should have a good working knowledge of EDIR  and
  615.           you should be able to explore the remaining functions simply
  616.           by  reading  the  next  chapter  - EDIR COMMAND REFERENCE. A
  617.           short online  help screen  is available  when you  are using
  618.           EDIR.  To  display  this  help  screen, simply press the 'H'
  619.           (HELP) key.
  620.           
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.                                      - 9 -
  659.  
  660.  
  661.  
  662.  
  663.                              EDIR COMMAND REFERENCE
  664.           
  665.           
  666.           QUICK SUMMARY:
  667.           
  668.           KEY            COMMAND DESCRIPTION
  669.           
  670.           <PgUp>:        Scroll page up
  671.           <PgDn>:        Scroll page down
  672.           <Home>:        Go to top of directory
  673.           <End>:         Go to bottom of directory
  674.           <Up-Arrow>:    Cursor up
  675.           <Down-Arrow>:  Cursor down
  676.           M:           * Mark
  677.           U:             Unmark
  678.           C:             Cut
  679.           P:             Paste
  680.           O:           * Organize (files/dirs/deleted entries)
  681.           S:             Sort or Reverse
  682.           T:           * Trim (compress) directory
  683.           D:             Display paste and/or safe buffers
  684.           H:             Help
  685.           W:             Write and quit
  686.           Q:             Quit
  687.           
  688.           
  689.           
  690.           
  691.           * These functions are for demo only. If you use them  during
  692.           an EDIR session, you will  not be able to store  your edited
  693.           directory on to the disk. To order the full featured version
  694.           of EDIR use the order form at the back of this manual.
  695.           
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.                                      - 10 -
  725.  
  726.  
  727.  
  728.  
  729.           <PgUp>: Scroll page up
  730.           <PgDn>: Scroll page down
  731.                These keys are used to scroll through the directory one
  732.                page at a time. When the top (bottom) of the  directory
  733.                is reached, you cannot scroll up (down) any more.
  734.           
  735.           
  736.           <Home>: Go to top of directory
  737.           <End>:  Go to bottom of directory
  738.                These keys are used to  reach the top or bottom  of the
  739.                directory very quickly.
  740.           
  741.           
  742.           <Up-Arrow>:   Cursor up
  743.           <Down-Arrow>: Cursor down
  744.                These keys  are used  to move  in the  main buffer  one
  745.                entry at a time. When the top (bottom) of the directory
  746.                is reached, you cannot move up (down) any more.
  747.           
  748.           
  749.           M: Mark  (Demo function)
  750.           U: Unmark
  751.                MARK  is  used  to  group  a  certain  section  of  the
  752.                directory. Once a section  is marked, the CUT  and SORT
  753.                commands operate only on the marked section. UNMARK  is
  754.                used to ungroup a marked section.
  755.                
  756.                To mark a certain section  of the directory, go to  the
  757.                first directory entry of the section and press the  'M'
  758.                key. The  current entry  will be  highlighted. Now move
  759.                the cursor  to the   last  entry   in the section using
  760.                <Pg-Up>,  <Pg-Down>,  <Home>,  <End>,  <Up-Arrow>   and
  761.                <Down-Arrow> keys in any order. The whole section  will
  762.                be  highlighted  as  you  move  the  cursor to the last
  763.                entry. Also, if  you want, you  can start your  marking
  764.                from the last  entry of the  section and work  your way
  765.                backwards towards the first entry.
  766.                
  767.                Now that you have marked a particular section, what can
  768.                you do with it?  Well, one thing you  can do is to  cut
  769.                the whole section using  the CUT command and  append it
  770.                to  the  paste  buffer.  This  is  a much easier way of
  771.                cutting  consecutive  entries  from  the main buffer as
  772.                opposed to  cutting individual  entries one  at a time.
  773.                Something else you can do  with a marked section is  to
  774.                sort it. When you use the SORT command after marking  a
  775.                section,  the  command  operates  only  on  the  marked
  776.                section and leaves the rest of the directory untouched.
  777.                Even after the  sort is completed  the section is  kept
  778.                marked for you  to observe the  result and perform  any
  779.                further operations  on the  section (for  example, more
  780.                sorts, or  CUT, or  even expand  or shrink  the section
  781.                using the cursor control keys).
  782.                
  783.                Whenever  you  want  to  unmark  a marked section, just
  784.                press the 'U' key.
  785.           
  786.  
  787.  
  788.  
  789.  
  790.                                      - 11 -
  791.  
  792.  
  793.  
  794.  
  795.           C: Cut
  796.           P: Paste
  797.                The CUT command cuts the directory entry pointed by the
  798.                cursor and appends it to the paste buffer. If there  is
  799.                a  marked  section  within  the  directory,  the  whole
  800.                section is cut and is appended to the paste buffer. The
  801.                contents of  the paste  buffer can  be observed  at any
  802.                time  using  the  DISPLAY  command.  The  PASTE command
  803.                inserts the  contents of  the paste  buffer BEFORE  the
  804.                current entry (the entry pointed by the cursor).
  805.           
  806.           
  807.           O: Organize  (Demo function)
  808.                The ORGANIZE function rearranges the main buffer in the
  809.                following order:  files, directories,  deleted entries.
  810.                This command  is useful  if you  like to  look at  your
  811.                files  and  directories  in  separate  groups.  It also
  812.                places  all  the  deleted  entries  at  the  end,  thus
  813.                combining all the  small "holes" into  a big one.  This
  814.                ensures that all  the new files  created in the  future
  815.                will be appended at the end of the directory instead of
  816.                creeping up  randomly within  the directory.  If you do
  817.                not  like  the  files/directories/deleted entries order
  818.                for some reason, you can easily reorder the entries  by
  819.                doing a block CUT and PASTE.
  820.                
  821.                Note that  the organize  command operates  on the  main
  822.                buffer only. So  if you have  any entries in  the paste
  823.                buffer and want them to be part of the  reorganization,
  824.                you must first paste them into the main buffer.
  825.           
  826.           
  827.           S: Sort or Reverse
  828.                This command is  used to sort  or reverse the  order of
  829.                directory  entries  in  the  complete  main buffer or a
  830.                marked section within the  main buffer. If there  is no
  831.                marked section when this  command is invoked, then  the
  832.                complete  main  buffer  is  sorted.  Otherwise only the
  833.                marked section is sorted and is left marked for you  to
  834.                observe the results or perform more operations on it.
  835.                
  836.                When you press the 'S' key to do a sort, EDIR  displays
  837.                the following prompt:
  838.                
  839.                Sorting  sequence  -  <F>ilename,  <E>xtension, <S>ize,
  840.                <D>ate, <R>everse:
  841.                
  842.                You  must  now  type  the  first  letter of the sorting
  843.                option  of   your  choice,   viz.  sort   by  filename,
  844.                extension, file size, date & time or reverse. Sorts are
  845.                always done in the  ascending order. Hence, to  sort in
  846.                the descending order, you  must first do a  normal sort
  847.                followed by a reverse operation.
  848.                
  849.                Note that the SORT command operates on the main  buffer
  850.                only. So if  you have any  entries in the  paste buffer
  851.                and want them  to be part  of the sort,  you must first
  852.                paste them into the main buffer.
  853.           
  854.  
  855.  
  856.                                      - 12 -
  857.  
  858.  
  859.  
  860.  
  861.           
  862.           T: Trim (compress) directory  (Demo function)
  863.                This function can  sometimes compress a  directory into
  864.                fewer clusters freeing up valuable disk space. The idea
  865.                behind the TRIM function is as follows:
  866.                
  867.                To add new entries to a directory that is already full,
  868.                DOS assigns an unused  cluster to that directory.  Thus
  869.                DOS provides the basic mechanism to expand a directory.
  870.                However, DOS does not  have the mechanism to  salvage a
  871.                directory so as to reclaim unnecessary directory space.
  872.                As an example, consider  a disk with 2  sectors/cluster
  873.                (i.e.  1024   bytes/cluster).  So   each  cluster   can
  874.                accommodate  32  directory  entries.  Now  consider   a
  875.                directory  that  has  one  cluster  and is full with 32
  876.                entries.  Suppose  you  create  a  new  file  in   this
  877.                directory. To add this  33rd entry into the  directory,
  878.                DOS  assigns  an  unused  cluster  to the directory and
  879.                writes the  new entry  as the  first entry  in the  new
  880.                cluster.  Now  if  you   delete  ANY  entry  from   the
  881.                directory,  there  are  only  32  valid  entries  left.
  882.                Theoretically,  these  32  entries  can  fit  into  one
  883.                cluster. But DOS does  not pack these entries  into one
  884.                cluster in order to free up the other cluster. The TRIM
  885.                function does exactly that.
  886.                
  887.                When you invoke  the TRIM function,  EDIR will ask  you
  888.                for a confirmation. If you say yes, EDIR will pack  the
  889.                directory  into  fewer  clusters  if  possible and will
  890.                display  the  number  of  clusters  that  will be freed
  891.                during  a  write  to  the  disk.  Thus TRIM may be very
  892.                useful when you are trying to fit those last few  bytes
  893.                on a disk.
  894.                
  895.                Note that  TRIM internally  uses the  ORGANIZE function
  896.                and  so  the  directory  will  be  rearranged  in   the
  897.                files/directories/deleted entries order every time  you
  898.                use  the  TRIM  function.  Also  note  that  the   root
  899.                directory cannot be trimmed because it has a fixed size
  900.                as  defined  by  DOS.  If  you  try  to  trim  the root
  901.                directory, EDIR will produce an error message.
  902.           
  903.           
  904.           D: Display paste and/or safe buffers
  905.                When  you  invoke  the  DISPLAY  function,  EDIR  first
  906.                displays the contents of the paste buffer. It then asks
  907.                you to press  the 'S' key  if you want  to look at  the
  908.                safe buffer or any other key to switch back to the main
  909.                buffer. The safe buffer contains entries that cannot be
  910.                moved, e.g. the DOS system files in the root  directory
  911.                and the . & .. entries in any subdirectory.
  912.           
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.                                      - 13 -
  923.  
  924.  
  925.  
  926.  
  927.           H: Help
  928.                This command displays a help screen for EDIR commands.
  929.           
  930.           
  931.           W: Write and quit
  932.                This function writes the  edited directory back to  the
  933.                disk. If  there are  any entries  in the  paste buffer,
  934.                they will be automatically pasted into the main  buffer
  935.                before a write to the disk. The WRITE command asks  for
  936.                your confirmation before writing to the disk.
  937.           
  938.           
  939.           Q: Quit
  940.                This command lets  you get out  of EDIR without  saving
  941.                the contents of the edited directory on to the disk. It
  942.                asks for your confirmation before quitting.
  943.           
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.                                      - 14 -
  989.  
  990.  
  991.  
  992.  
  993.                                    ORDER FORM
  994.           
  995.           Qty.     Description            Unit Price    Extended Price
  996.           ----     -----------            ----------    --------------
  997.           
  998.           ____     EDIR                     $15.00      ______________
  999.           
  1000.                      IL residents add 7% sales tax      ______________
  1001.           
  1002.                                              Total      ______________
  1003.           
  1004.           Please print clearly:
  1005.           
  1006.           Name _______________________________________________________
  1007.           
  1008.           Company ____________________________________________________
  1009.           
  1010.           Street Address _____________________________________________
  1011.           
  1012.           City/State _______________________________ Zip _____________
  1013.           
  1014.           Home Phone Number  (      )-__________-_____________________
  1015.           
  1016.           Bus. Phone Number  (      )-__________-_____________________
  1017.           
  1018.           Where will you be using this product?  ____ Home,  ____ Work
  1019.           
  1020.           Your computer (make/model) _________________________________
  1021.           
  1022.           Number of drives and type __________________________________
  1023.           
  1024.           Display adapter and monitor ________________________________
  1025.           
  1026.           Printer ____________________________________________________
  1027.           
  1028.           Other peripherals __________________________________________
  1029.           
  1030.           We welcome your comments and suggestions about EDIR:
  1031.           
  1032.           ____________________________________________________________
  1033.           
  1034.           ____________________________________________________________
  1035.           
  1036.           ____________________________________________________________
  1037.           
  1038.           What applications and/or utilities would you like to see us
  1039.           develop in the future. Your inputs are very valuable to us:
  1040.           
  1041.           ____________________________________________________________
  1042.           
  1043.           ____________________________________________________________
  1044.           
  1045.           ____________________________________________________________
  1046.           
  1047.           
  1048.           Please mail this order form along with your check to:
  1049.             Rose Development, 1126 E. Algonquin Rd., 2K,
  1050.             Schaumburg, IL 60173.
  1051.           
  1052.  
  1053.  
  1054.                                      - 15 -
  1055.  
  1056.  
  1057.